package com.vic.kjlink.order.service;

import org.springframework.stereotype.Service;

import com.vic.kjlink.order.mapper.UserMapper;
import com.vic.kjlink.order.model.User;

import pers.vic.boot.base.service.BaseService;

/**
 * @description:用户表 Service
 * @author Vic.xu
 * @date: 2021-08-19 13:08
 */
@Service
public class UserService extends BaseService<UserMapper, User> {

    @Override
    protected boolean hasAttachment() {
        return false;
    }

    public User getByUserCode(String userCode) {
        return mapper.getByUserCode(userCode);
    }

}
